﻿/*****************************************************************************  

 Version: 0.1
 Website: http://www.visuagile.com/
 
 Copyright (c) Yoganand R. All rights reserved.
 For continued development and updates, visit http://yogsbreath.net
 
 ******************************************************************************/

using System.Collections;
using System.Collections.Generic;
using VisualAgile.Model;

namespace VisualAgile.IBLL
{
    /// <summary>
    /// Role Management
    /// </summary>
    public interface IRoleManager : IBaseManager<Role>
    {
        /// <summary>
        /// Create a Role (the default value contains the return)
        /// </summary>
        /// <returns></returns>
        Role NewRole();

        /// <summary>
        /// Access to Role 
        /// </summary>
        /// <param name="RoleName">Role name</param>
        /// <returns></returns>
        Role GetByName(string RoleName);

        /// <summary>
        /// Access to Role 
        /// </summary>
        /// <param name="RoleName">Role Id</param>
        /// <returns></returns>
        Role GetById(int? RoleId);
    }
}
